package com.online.customerchatserver.service;

import com.online.customerchatserver.service.impl.FindAgentServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 *   查找坐席和会话服务接口
 *   @author hsc
 *   @create 2018-04-24 10:35
 */
@FeignClient(name="find-agent-server",fallback= FindAgentServiceImpl.class)
public interface FindAgentService {

    /**
     * 查找坐席和会话服务
     * @return
     */
    @PostMapping(path = "/findAgentServer")
    Map findAgentServer(@RequestBody Map map);

}
